package com.aiyige.base.eventbus;

public class EventDeleteSearchMoment {
    String localId;
    String serverId;
    int parentType;

    public EventDeleteSearchMoment() {
    }

    private EventDeleteSearchMoment(Builder builder) {
        setLocalId(builder.localId);
        setServerId(builder.serverId);
        setParentType(builder.parentType);
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public String getLocalId() {
        return localId;
    }

    public void setLocalId(String localId) {
        this.localId = localId;
    }

    public String getServerId() {
        return serverId;
    }

    public void setServerId(String serverId) {
        this.serverId = serverId;
    }

    public int getParentType() {
        return parentType;
    }

    public void setParentType(int parentType) {
        this.parentType = parentType;
    }

    public static final class Builder {
        private String localId;
        private String serverId;
        private int parentType;

        private Builder() {
        }

        public Builder localId(String val) {
            localId = val;
            return this;
        }

        public Builder serverId(String val) {
            serverId = val;
            return this;
        }

        public Builder parentType(int val) {
            parentType = val;
            return this;
        }

        public EventDeleteSearchMoment build() {
            return new EventDeleteSearchMoment(this);
        }
    }
}
